CSV Query Builder

The CSV Query Builder is an interactive dialog that allows the user to quickly setup a CSV file parsing, so it can be queried as a usual table. It uses the TEXTTABLE stored procedure to perform the parsing. For more information on this procedure please refer to the FROM Clause manual.

File Data Source

There are couple of configuration options:

Rest Web Service Data Source

There are couple of configuration options:

CSV File Import Options

Syntax Rules:

As a result, a script like shown below is generated and shown in the SQL editor.

SELECT stock.*
FROM 
    (CALL csv.getTextFiles('Adminschulung_Vertriebsauftrag.csv')) f,
    TEXTTABLE(f.file 
      COLUMNS Vertriebsauftrag_ID string,
          Bestelldatum string,
          Faelligkeitsdatum string,
          Auslieferungsdatum string, 
          Online_Bestellung string, 
          Haendler string, 
          Region string, 
          Kontinent string, 
          Land string, 
          Region_Hierarchie string, 
          Haendler_Hierarchie string
      DELIMITER ';' 
      SKIP 1
    ) stock

Adding and removing columns

There are four buttons to the right of the columns list that allow the user to easily add and remove columns:

Source data preview

Reference manual pages: